#include<iostream>
#include"../Card.h"
using namespace std;

int main(){
  Card someCard1(diamonds, _1, 1);
  Card someCard2(hearts, ace, 2);

  /*test getRank()*/
  cout<< "Getting test card's rank: ";
  cout<< someCard1.getRank() <<endl;
  cout<< "expected: 1"<<endl;
  /*test getSuit()*/
  cout<< "Getting test card's suit: ";
  cout<< someCard1.getSuit() <<endl; 
  cout<< "expected: 0 for diamonds"<<endl;
  /*test getID()*/
  cout<< "Getting test card's ID: ";
  cout<< someCard1.getID() <<endl;
  cout<< "expected 1"<<endl;
  /*test compareCard() cases*/
  cout<< "Comparing rank 1 to rank ace: "<<endl;
  cout<< someCard1.compareCard(someCard2)<<endl;
  cout<< "expected 1"<<endl;
  
  Card someCard3(hearts, _5, 3);
  Card someCard4(spades, _5, 4);
  cout<< "Comparing rank 5 to rank 5: "<<endl;
  cout<< someCard3.compareCard(someCard4)<<endl;
  cout<< "expected 0"<<endl;

  Card someCard5(clubs, _10, 5);
  Card someCard6(clubs, queen, 6);
  cout<< "Comparing rank 10 to rank Queen: "<<endl;
  cout<< someCard5.compareCard(someCard6)<<endl;
  cout<< "expected -1"<<endl;
  cout<<"Card Test done" <<endl;


  return 0;
}

